// index.js
Page({
  data: {

  },

    data: {
      active: 0,
    },
    onChange(event) {
      // event.detail 的值为当前选中项的索引
      this.setData({ active: event.detail });
    },

  
  onClickToBookLab: function() {
    wx.navigateTo({
      url: '/pages/book-lab/book-lab',
    });
  }
});